<table>
	<tr>
		<td>
			<a class="button" href="javascript:void(null)" onclick="$('#formitem').submit()">
				<div style="background:url(<?php echo $this->baseUrl() ?>/public/images/save_16.png);" class="inb">Zapisz</div>
			</a>
		</td>
	</tr>
</table>

<form action="<?php echo $this->baseUrl() ?>/cpsetings/upload/type/<?php echo $this->type; ?>" enctype="multipart/form-data" method="post" id="formitem" >
<table cellspacing="0" cellpadding="6" class="tform">
	<tr>
		<td>Podaj plik z <?php echo $this->plik?></td>
		<td><input type="file" name="pliczek" /></td>
	</tr>
</table>
<input type="hidden" name="typ" value="<?php echo $this->type?>" />
</form>